package com.chengyu.core.mapper;

import com.chengyu.core.model.PmsGoods;
import com.chengyu.core.model.PmsGoodsExample;
import com.chengyu.core.model.TyOrder;
import com.chengyu.core.model.TyOrderExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TyOrderMapper {
    long countByExample(TyOrderExample example);

    int deleteByExample(TyOrderExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TyOrder record);

    int insertSelective(TyOrder record);





    List<TyOrder> selectByExampleWithBLOBs(TyOrderExample example);

    List<TyOrder> selectByExample(TyOrderExample example);

    TyOrder selectByPrimaryKey(Integer id);

    TyOrder getDetail(Integer id);


    int updateByExampleSelective(@Param("record") TyOrder record, @Param("example") TyOrderExample example);

    int updateByExample(@Param("record") TyOrder record, @Param("example") TyOrderExample example);

    int updateByPrimaryKeySelective(TyOrder record);

    int updateByPrimaryKey(TyOrder record);
}
